/* @START: Here is the basic style
 * @Author: Hewel
 * @Date: 2018-03-28 08:09:04
 * @Last Modified by: Hewel
 * @Last Modified time: 2018-04-05 19:38:27
 */

html {
    overflow-x: hidden;
    font-size: 62.5%;
}

body {
    font-size: 1.6em;
    color: $font-color;
    letter-spacing: .01em;
    line-height: 2.4em;
    background-color: $body-background-color;
}
*::before, *::after {
    display: block;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}
a {
    text-decoration: none;
    color: $link-color;
    transition: color 200ms ease-in-out;
    &:hover {
        color: $main-color;
    }
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

#app {
    display: flex;
    position: fixed;
    overflow: hidden;
    width: 100%;
    max-width: 192rem;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: $background-color;
}

.ps__rail-y,
.ps__rail-x {
    position: absolute;
    transition: {
        property: color, width, height;
        duration: 200ms;
        timing-function: ease-in-out;
    }
    z-index: 5;
    * {
        position: relative;
        background-color: $scrollBar-color;
    }
    &:hover,
    &:active,
    &:focus {
        * {
            background-color: $hover-scrollBar-color;
        }
    }
}

.ps__rail-y {
    // right: $content-margin-row + $menu-width !important;
    width: $shrink-scrollBar-width;
    padding-left: $unfold-scrollBar-width;
    &:hover,
    &:active,
    &:focus {
        width: $unfold-scrollBar-width;
    }
}
